local Plugin = SS.Plugins:New("Kill")

// Table

Plugin.Kills = {}

// When player dies

function Plugin.PlayerDeath(Player, Attacker, Damage)
	// CurTime
	
	local Cur = CurTime()
	
	// Check
	
	local Check = Attacker:IsPlayer()
	
	if (Check) then
		Plugin.Kills[Attacker] = Plugin.Kills[Attacker] or 0
		
		if (Plugin.Kills[Attacker] < Cur) then
			if (Attacker != Player) then
				SS.Warnings.Warn(Attacker, 1, "Killing")
			end
			
			Plugin.Kills[Attacker] = Cur + 30
		end	
	end
end

Plugin:Create()